<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="../css/login.css">

    <script src="../js/jquery.js"></script>
    <script src="../js/login.js"></script>
</head>

<body>
<div>
    <!--    <form action="/code" method="get">-->
    <div><img src="../img/head-sculpture.jpg"></div>
    <div>
        <div><input type="text" placeholder="username" name="username" id="username" pattern="^[a-zA-Z0-9_-]{4,16}$"
                    required></div>
        <div><input type="password" placeholder="password" id="password"></div>
        <div>
            <div><input type="text" id="code" style="width: 70px" placeholder="验证码"></div>
            <div><img src="http://localhost:8080/code" height="30" width="80"/></div>
        </div>
        <div>
            <div><label><input type="checkbox">Remenber Me</label></div>
            <div><a href="/html/userRegiter.html">注册</a></div>
        </div>
        <div><input type="button" value="登陆" onclick="login()"></div>
    </div>
    <!--    </form>-->
</div>
</body>
</html>